package com.kakavr.shop.service;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.kakavr.base.service.BaseService;
import com.kakavr.shop.dao.IShopTypeDao;

@Service
public class ShopTypeService extends BaseService implements IShopTypeService {
	@Resource
	private IShopTypeDao shopTypeDao;

	@Override
	public void addShopType(Map<String, Object> map) {
		shopTypeDao.insertShopType(map);
	}

	@Override
	public void updateShopType(Map<String, Object> map) {
		shopTypeDao.updateShopType(map);
	}

	@Override
	public List<Map<String, Object>> selectShopTypeList() {
		return shopTypeDao.selectShopTypeList();
	}

}
